import React from 'react'
import { Form, Select } from 'antd'
import moment from 'moment'
const { Item } = Form
const { Option } = Select

function Main () {
  const years = []
  const nowYear = moment().year()
  for (let i = 2020; i <= nowYear; i++) {
    years.push(i)
  }
  return (
    <Item label='反请求/变更跨年' name='anotheryear_claim'>
      <Select placeholder='请选择年份'>
        {years.map(li => {
          return <Option key={li} value={li}>{li}年</Option>
        })}
      </Select>
    </Item>
  )
}

export default Main
